package com.ktgj.flight.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ktgj.flight.mapper.FinanceAutobillExceptionMapper;
import com.ktgj.flight.domain.FinanceAutobillException;
import com.ktgj.flight.service.IFinanceAutobillExceptionService;

/**
 * 财务自动对账结果Service业务层处理
 * 
 * @author ruoyi
 * @date 2022-06-15
 */
@Service
public class FinanceAutobillExceptionServiceImpl implements IFinanceAutobillExceptionService 
{
    @Autowired
    private FinanceAutobillExceptionMapper financeAutobillExceptionMapper;

    /**
     * 查询财务自动对账结果
     * 
     * @param billExceptionId 财务自动对账结果ID
     * @return 财务自动对账结果
     */
    @Override
    public FinanceAutobillException selectFinanceAutobillExceptionById(Long billExceptionId)
    {
        return financeAutobillExceptionMapper.selectFinanceAutobillExceptionById(billExceptionId);
    }

    /**
     * 查询财务自动对账结果列表
     * 
     * @param financeAutobillException 财务自动对账结果
     * @return 财务自动对账结果
     */
    @Override
    public List<FinanceAutobillException> selectFinanceAutobillExceptionList(FinanceAutobillException financeAutobillException)
    {
        return financeAutobillExceptionMapper.selectFinanceAutobillExceptionList(financeAutobillException);
    }

    /**
     * 新增财务自动对账结果
     * 
     * @param financeAutobillException 财务自动对账结果
     * @return 结果
     */
    @Override
    public int insertFinanceAutobillException(FinanceAutobillException financeAutobillException)
    {
        return financeAutobillExceptionMapper.insertFinanceAutobillException(financeAutobillException);
    }

    /**
     * 修改财务自动对账结果
     * 
     * @param financeAutobillException 财务自动对账结果
     * @return 结果
     */
    @Override
    public int updateFinanceAutobillException(FinanceAutobillException financeAutobillException)
    {
        return financeAutobillExceptionMapper.updateFinanceAutobillException(financeAutobillException);
    }

    /**
     * 批量删除财务自动对账结果
     * 
     * @param billExceptionIds 需要删除的财务自动对账结果ID
     * @return 结果
     */
    @Override
    public int deleteFinanceAutobillExceptionByIds(Long[] billExceptionIds)
    {
        return financeAutobillExceptionMapper.deleteFinanceAutobillExceptionByIds(billExceptionIds);
    }

    /**
     * 删除财务自动对账结果信息
     * 
     * @param billExceptionId 财务自动对账结果ID
     * @return 结果
     */
    @Override
    public int deleteFinanceAutobillExceptionById(Long billExceptionId)
    {
        return financeAutobillExceptionMapper.deleteFinanceAutobillExceptionById(billExceptionId);
    }
}
